Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

plugin hmail-alias integration #2211

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Oxymoron290
Copy link
Contributor

@Oxymoron290 Oxymoron290 commented Mar 1, 2023

This Pull request is not quite a duplicate of #1863

While @karobolas did admirable work on that pull request, there were a few issues. The major one being direct database access to hmail. This isn't recommended as the hmail COM api is a better choice. This Pull request uses that com api to get the user's first name and last name to use as the user identity in rainloop.

Also, instead of using direct filesystem IO to read/write to the json file that stores the user identity, I am now using the existing mechanisms in place to do such work.

I have tested this in my environment and confirmed it is working.

Erik Fryklund and others added 2 commits April 11, 2019 11:21
@Oxymoron290
Copy link
Contributor Author

Oxymoron290 commented Mar 2, 2023

Test cases

Scenario: Logging in for the first time
Result: default identity 'name' set to same values as hMailServer upon login. All over properties on the identity remain the same.

Scenario: Logging in for the second time
Result: No change

Scenario: Logging in after changing the 'name; on the default identity
Result: default identity 'name' set to same values as hMailServer upon login. All over properties on the identity remain the same.

Scenario: Logging in with an account which has multiple identities
Result: Only the default identity 'name' set to same values as hMailServer upon login, additional identities remain untouched.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant